#include "tool.h"

#include <QObject>
#include <QPen>

Tool::Tool(QObject *parent): QObject(parent)
{
    m_currentPen = new QPen();
    m_currentPen->setCapStyle(Qt::RoundCap);
    m_currentPen->setJoinStyle(Qt::RoundJoin);
}

void Tool::mouseMoveEvent(QMouseEvent* event, Document*)
{
    // Ignore the event.
    event->ignore();
}

void Tool::mousePressEvent(QMouseEvent* event, Document*)
{
    // Ignore the event.
    event->ignore();
}

void Tool::mouseReleaseEvent(QMouseEvent* event, Document*)
{
    // Ignore the event.
    event->ignore();
}

void Tool::mouseDoubleClickEvent(QMouseEvent* event, Document*)
{
    // Ignore the event.
    event->ignore();
}

void Tool::tabletEvent(QTabletEvent* event, Document*)
{
    // Ignore the event.
    event->ignore();
}

